package de.jmda.core.util.xl;

import java.util.List;

import com.google.common.collect.ArrayTable;

/**
 * Reads an Excel workbook and returns the sheets of that workbook as a list of
 * {@link ArrayTable} instances that contain cells of type <code>T</code>.
 * <p>
 * Implementations are free to define their ways to access Excel workbooks.
 *
 * @param <T>
 */
public interface WorkbookReader<T>
{
	/**
	 * @return all sheets of a workbook as a list of array tables
	 */
	List<ArrayTable<Integer, Integer, T>> getSheets();
}